const routes = [
  {
    path: '/login',
    name: 'userlogin',
    component: () => import('../views/login/index.vue')
  },
  {
    path: '/mine',
    name: 'mine',
    component: () => import('../views/mine/index.vue'),
    meta: {
      title: '我的',
      needLogin: true
    }
  },
  {
    path: '/register',
    name: 'register',
    component: () => import('../views/register/index.vue')
  },
  {
    path: '/feedback',
    name: 'feedback',
    component: () => import('../views/feedback/index.vue'),
    meta: {
      title: '反馈',
      icon: 'xxx',
      needLogin: true,
    }
  }
]

export default routes
